package edu.cuit.zhuyimeng.aircraft.dal.mapper;
import com.alicp.jetcache.anno.Cached;
import edu.cuit.zhuyimeng.aircraft.enums.CacheConstants;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import edu.cuit.zhuyimeng.aircraft.dal.po.AirlinePO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
* @author XiaoMo
* @Entity edu.cuit.zhuyimeng.aircraft.dal.po.AirlinePO
*/
@Mapper
public interface AirlineMapper extends BaseMapper<AirlinePO> {

    @Cached(name = CacheConstants.AIRLINE_INFO,key = "args[0]")
    AirlinePO selectOneById(@Param("id") Integer id);

}




